<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core" >


<f:view contentType="text/html">

    <!--
    <ui:insert name="metadata">
        <f:metadata>
            <f:event type="preRenderView" listener="#{usuarioSessionBean.checkLogin}" />
        </f:metadata>
    </ui:insert>
    -->

<h:head>
    <title>Intercap S.R.L.</title>
        <h:outputStylesheet library="css" name="estructura.css"/>
        <h:outputStylesheet library="css" name="estilos.css"/>
        <h:outputStylesheet library="css" name="imagenes.css"/>
        <h:outputStylesheet library="css" name="css_talon.css"/>
        <h:outputStylesheet library="css" name="css_footer.css"/>
    <ui:insert name="head"></ui:insert>

    <script language="javascript" src="#{request.contextPath}/resources/js/jquery.t-countdown.min.js"/>

    <script type="text/javascript">
    /**
    {
        if(history.forward(1))
        location.replace(history.forward(1))
    }
    */
    </script>

    <style type="text/css">
        a { text-decoration: none;
            border: none;
          }
          img {
                border: none;
          }

    </style>
    

    <ui:include src="../template/analyticstraking.xhtml"/>
    
</h:head>
    
<h:body>

    <c:if test="#{usuarioSessionBean.estaRegistrado or aplicacionBean.parametro.disponibilidadChat == 'T'}" >
        <ui:include src="../global/chat.xhtml"  />
    </c:if>


    <c:if test="#{aplicacionBean.parametro.modoPrueba == 'S'}" >
        <ui:include src="../global/mensajePrueba.xhtml"  />
    </c:if>

<div class="envoltura">

    <div class="contenidoGral">

        <!-- <ui:include src="../template/notificationBar.xhtml" />-->
        
        <!-- Header -->
        <ui:insert name="header" >                
            <ui:include src="../template/cabecera.xhtml" />        
        </ui:insert>
        
        <div class="contenido" id="contenido">

            <div class="panelIzquierdo">
                <ui:insert name="panelIzquierdo" id="panelIzquierdo" />
            </div>

            <div class="panelDerecho">
                <ui:insert name="panelDerecho" id="panelDerecho" />
            </div>

        </div>

        <ui:insert name="footer">

            <ui:include src="../template/pie.xhtml"/>

        </ui:insert>
    </div>
</div>

<ui:include src="../template/ajaxStatus-III.xhtml"/>


</h:body>
</f:view>
</html>
